<HTML>
<HEAD>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE><A HREF="../../doxygenxml_compound/Enum_DoxSectionKind.htm">doxygenxml_compound.DoxSectionKind</A> getKind - SectiondefType</TITLE>
<LINK REL=STYLESHEET HREF="std/schema.css" TYPE="text/css">
</HEAD>
<BODY topmargin=0 rightmargin=0 leftmargin=0 style="background-image: url(../titletile.jpg); background-repeat:repeat-x; background-position: 0 0;" >
<DIV CLASS="PageHeading"><A HREF="../../doxygenxml_compound/Enum_DoxSectionKind.htm">doxygenxml_compound.DoxSectionKind</A> getKind</DIV>
<IMG src="std/GradLeft.jpg" width=7 height=378 alt="" border="0" style="position:absolute; left:10; top:18;z-Index:2">
<IMG src="std/GradTop.jpg" width=352 height=7 alt="" border="0" align="top" style="position:absolute; left:10; top:18; z-index:1">

<TABLE CLASS="InfoTable" cellpadding=0 cellspacing=0>
	<TR height=20>
		<TD width=20>&nbsp;</TD>
		<TD valign=top align=left width=9 bgcolor="#cccc66"><IMG SRC="std/tablecorner.jpg" align=top></TD>
		<TD CLASS="TableLightLabel" WIDTH=206>Property</TD>
		<TD CLASS="TableLightLabel" >Description</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Property Name</TD>
		<TD CLASS="TableLightDesc">getKind</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Property Type</TD>
		<TD CLASS="TableLightDesc"><A HREF="../../doxygenxml_compound/Enum_DoxSectionKind.htm">doxygenxml_compound.DoxSectionKind</A></TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Parent Class</TD>
		<TD CLASS="TableLightDesc"><A HREF="Cls_SectiondefType.htm">doxygenxml_compound.SectiondefType</A></TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">XML Type</TD>
		<TD CLASS="TableLightDesc">Attribute</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Accessors</TD>
		<TD CLASS="TableLightDesc">Read/Write</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Description</TD>
		<TD CLASS="TableLightDesc">			An optional <A HREF="../doxygenxml_compound/Enum_DoxSectionKind.htm">DoxSectionKind</A> enumeration
</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Remarks</TD>
		<TD CLASS="TableLightDesc">			It is optional, initially it is not populated.<BR>
			The property isValidKind indicates if the property has been populated.<BR>
			Any attempt to read a property that has not been populated will raise an exception.<BR>
			To 'un-populate' the property set setValidKind = false.<BR>
<BR><BR></TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Also See</TD>
		<TD CLASS="TableLightDesc"><A HREF="../std/IsValid.HTM">isValidKind</A> - Indicates if the property has been populated.</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
	<TR height=20 VALIGN="TOP">
		<TD width=20>&nbsp;</TD>
		<TD CLASS="TableLightDesc">&nbsp;</TD>
		<TD CLASS="TableLightDesc">Example</TD>
		<TD CLASS="TableLightDesc"><PRE>
<A HREF="../../doxygenxml_compound/Enum_DoxSectionKind.htm">doxygenxml_compound.DoxSectionKind</A> eItem;
<A HREF="Cls_SectiondefType.htm">doxygenxml_compound.SectiondefType</A> parent = ...;

// The property is optional so is not initially set.
// attempts to read it will result in an exception being raised
// So the following will raise an exception
System.out.println("value of enum is " + parent.getKind().toString()); // ERROR

// Before attempting to read the property you can test to see if ts valid
if (parent.isValidKind() == true);
{
  // its safe to read the value
  System.out.println("value of enum is " + parent.getKind().toString());
}

// Before setting it isValidKind is false
assert parent.isValidKind() == false : "The property is initially is initially not set";


// Setting the value, use any one of the following
parent.setKind(doxygenxml_compound.DoxSectionKind.UserMinusdefined);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinustype);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinusslot);
parent.setKind(doxygenxml_compound.DoxSectionKind.Signal);
parent.setKind(doxygenxml_compound.DoxSectionKind.DcopMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.Property);
parent.setKind(doxygenxml_compound.DoxSectionKind.event_);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinusstaticMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PublicMinusstaticMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinustype);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinusslot);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinusstaticMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.ProtectedMinusstaticMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.PackageMinustype);
parent.setKind(doxygenxml_compound.DoxSectionKind.PackageMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PackageMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.PackageMinusstaticMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PackageMinusstaticMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinustype);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinusslot);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinusstaticMinusfunc);
parent.setKind(doxygenxml_compound.DoxSectionKind.PrivateMinusstaticMinusattrib);
parent.setKind(doxygenxml_compound.DoxSectionKind.Friend);
parent.setKind(doxygenxml_compound.DoxSectionKind.Related);
parent.setKind(doxygenxml_compound.DoxSectionKind.Define);
parent.setKind(doxygenxml_compound.DoxSectionKind.Prototype);
parent.setKind(doxygenxml_compound.DoxSectionKind.Typedef);
parent.setKind(doxygenxml_compound.DoxSectionKind.enum_);
parent.setKind(doxygenxml_compound.DoxSectionKind.Func);
parent.setKind(doxygenxml_compound.DoxSectionKind.Var);

// After setting, it returns true
assert parent.isValidKind() == true : "Once a value has been assgined to the property, isValidKind will be true";
</PRE>
</TD>
		<TD width=20>&nbsp;</TD>
	</TR>
</TABLE>

</BODY>
</HTML>



